package org.linlinjava.litemall.db.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.litemall.db.domain.TaskOrderCommission;

import java.util.List;
import java.util.Map;

/**
 * Created by 75720 on 2019/05/20.
 */
@Mapper
public interface TaskOrderCommissionMapper {
    boolean saveTask(TaskOrderCommission orderCommissionTask);
    boolean updateTask(TaskOrderCommission orderCommissionTask);

    List<TaskOrderCommission> queryList(@Param("params") TaskOrderCommission orderCommissionTask, @Param("orderby") String orderby);
    List<TaskOrderCommission> queryOrderList(@Param("params") Map<String,Object> params, @Param("orderby") String orderby);
}
